home *** CD-ROM | disk | FTP | other *** search
- on sinfo mchan
- set stuff to []
- add(stuff, the type of sprite mchan)
- add(stuff, the castNum of sprite mchan)
- add(stuff, the locH of sprite mchan)
- add(stuff, the locV of sprite mchan)
- add(stuff, the ink of sprite mchan)
- add(stuff, the stretch of sprite mchan)
- return stuff
- end
-
- on sactivate mchan, stuff
- if not listp(stuff) then
- exit
- end if
- set the type of sprite mchan to getAt(stuff, 1)
- set the castNum of sprite mchan to getAt(stuff, 2)
- set the locH of sprite mchan to getAt(stuff, 3)
- set the locV of sprite mchan to getAt(stuff, 4)
- set the ink of sprite mchan to getAt(stuff, 5)
- set the stretch of sprite mchan to getAt(stuff, 6)
- end
-
- on storecans
- global canstorage
- set canstorage to []
- repeat with xxx = 38 to 47
- if the castNum of sprite xxx > 0 then
- add(canstorage, sinfo(xxx))
- end if
- end repeat
- end
-
- on restorecans
- global canstorage
- repeat with xxx = 1 to count(canstorage)
- sactivate(xxx + 37, getAt(canstorage, xxx))
- end repeat
- end
-